package cn.iocoder.yudao.module.jky.controller.admin.order.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;

/**
 * 订单 Excel VO
 *
 * @author 超级管理员
 */
@Data
public class OrderExcelVO {

    @ExcelProperty("主键")
    private Integer id;

    @ExcelProperty("用户ID")
    private Integer userId;

    @ExcelProperty("订单号")
    private String orderNum;

    @ExcelProperty("订单名称")
    private String title;

    @ExcelProperty("总价 精确到分")
    private Integer allprice;

    @ExcelProperty("赠送积分")
    private Integer givePoint;

    @ExcelProperty("分成")
    private Double proffer;

    @ExcelProperty("1=未结算2=结算")
    private Byte profferStatus;

    @ExcelProperty("抵扣积分")
    private Integer deductionPoint;

    @ExcelProperty("省份")
    private String province;

    @ExcelProperty("城市")
    private String city;

    @ExcelProperty("县/区域")
    private String county;

    @ExcelProperty("收货地址")
    private String address;

    @ExcelProperty("收件人单位名称")
    private String company;

    @ExcelProperty("收件人")
    private String consignee;

    @ExcelProperty("联系电话")
    private String contactNumber;

    @ExcelProperty("邮政编码")
    private String postcode;

    @ExcelProperty("快递公司")
    private String logistics;

    @ExcelProperty("快递单号")
    private String expressNumber;

    @ExcelProperty("备注")
    private String remark;

    @ExcelProperty("订单状态 1未支付 2已支付 3已发货 4已确认收货、未评价 5已确认收货、已评价 6申请退款 7退款成功 8拒绝退款")
    private Integer status;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @ExcelProperty("支付时间")
    private LocalDateTime payTime;

    @ExcelProperty("发货时间")
    private LocalDateTime deliverTime;

    @ExcelProperty("确认收货时间")
    private LocalDateTime finishTime;

    @ExcelProperty("评论时间")
    private LocalDateTime commentTime;

    @ExcelProperty("申请退款时间")
    private LocalDateTime refundTime;

    @ExcelProperty("退款成功时间")
    private LocalDateTime refundSuccessTime;

    @ExcelProperty("拒绝退款时间")
    private LocalDateTime refundFailTime;

    @ExcelProperty("支付方式 alipay支付宝 wxpay微信支付 balance余额支付 point积分抵用")
    private String payMethod;

    @ExcelProperty("抵用积分数")
    private Integer point;

    @ExcelProperty("消费码")
    private String consumerCode;

    @ExcelProperty("申请退款理由")
    private String drawbackReason;

    @ExcelProperty("申请退款凭证图片")
    private String drawbackImg;

    @ExcelProperty("拒绝退款理由")
    private String drawbackRefuseReason;

    @ExcelProperty("退款快递单号")
    private String refundExpressNumber;

    @ExcelProperty("是否延迟收货 Y是 N否")
    private String isDelay;

    @ExcelProperty("取消订单时间")
    private LocalDateTime cancelTime;

    @ExcelProperty("类型1自营商城3寄售商城")
    private Integer type;

    @ExcelProperty("供应商组ID 0代表无")
    private Integer supplierId;

}
